<?php
if(0){
  $string = "weekend php";
  /*
   * String Length
   * */
  $strLen = strlen($string);
  echo "The length of string is $strLen";
  echo "<br>------------<br>";
  var_dump($string);
  echo "<br>------------<br>";

  /*
   * Replace php with zend
   * */

  $newString = str_replace('php','zend',$string);
  echo "After replace 'php' with 'zend' string is => $newString";
  echo "<br>------------<br>";

}
  /*
   * Check 'week' is present in that string
   * */
    $string = "weekend php";
    $pos = strpos($string, 'week');
    var_dump($pos);
    if($pos !== false){
      echo "Success :)";
    } else {
      echo "Fail :(";
    }
    echo "<br>------------<br>";

    //var_dump(0 == false);
    //var_dump(0 === false);
    //var_dump(11 == '11');
    //var_dump(11 === '11');




